package com.cn.serverline.lineicp.produce.service.impl;

import com.cn.serverline.lineicp.produce.entity.TeException;
import com.cn.serverline.lineicp.produce.entity.dto.TeExceptionDto;
import com.cn.serverline.lineicp.produce.entity.vo.TeExceptionVo;
import com.cn.serverline.lineicp.produce.mapper.TeExceptionMapper;
import com.cn.serverline.lineicp.produce.service.ITeExceptionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 异常类型 服务实现类
 * </p>
 *
 * @author 王凯炫
 * @since 2024-08-22
 */
@Service
public class TeExceptionServiceImpl extends ServiceImpl<TeExceptionMapper, TeException> implements ITeExceptionService {

    @Resource
    private TeExceptionMapper teExceptionMapper;

    /**
     * 查询异常类型
     * @param teExceptionDto
     * @return
     */
    @Override
    public List<TeExceptionVo> sel(TeExceptionDto teExceptionDto) {
        return teExceptionMapper.sel(teExceptionDto);
    }
}
